<a href='https://github.com/angular/angular.js/edit/master/docs/content/error/ng/test.ngdoc?message=docs(error%2Ftest)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a>


<h1>Error: ng:test
  <div><span class='hint'>Testability Not Found</span></div>
</h1>

<div>
    <pre class="minerr-errmsg" error-display="no injector found for element argument to getTestability">no injector found for element argument to getTestability</pre>
</div>

<h2>Description</h2>
<div class="description">
  <p>AngularJS&#39;s testability helper, getTestability, requires a root element to be
passed in. This helps differentiate between different AngularJS apps on the same
page. This error is thrown when no injector is found for root element. It is
often because the root element is outside of the ng-app.</p>

</div>


